<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Insert title here</title>


<%@include file="/common/common.jspf" %>
<script type="text/javascript" src="${ctx}/js/finance/receivablesmanagement/materialwangjia_add.js">
</script>
<link rel="stylesheet" href="${pageContext.request.contextPath}/js/layui.css" media="all">
<style> 
body {
	font-family: 'microsoft yahei';
}

em {
	font-style: normal;
	font-size: 14px;
}

.form-group {
	position: relative;
	width: 140px;
}

.form-group-txt {
	height: 32px;
	line-height: 32px;
	padding: 0 10px;
}

.form-group-select { /*padding-left: 1px;*/
	
}

.form-control, .simulation-input {
	width: 100%;
	line-height: 16px;
	font-size: 12px;
	color: #4b555b;
	background: none;
	outline: none;
	border: 1px solid #d3dcdd;
	background-color: #fff;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0 -1px;
	padding: 7px 8px;
	*padding-left: 0;
	*padding-right: 0;
	*text-indent: 8px;
	*float: left;
	transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s
		ease-in-out 0s;
}
.w140{
	width:250px;
}
.float-left {
	float: left;
}

.layui-form-label{
	float: left;
    display: block;
    padding: 9px 15px;
    width: 86px;
    font-weight: 400;
    text-align: right;
}

.layui-col-md6 {
    width: 50%;
    position: relative;
    display: block;
    box-sizing: border-box;
}

.layui-col-md12 {
    width: 100%;
}
.layui-row .layui-col-space15{
	display: block;
	    clear: both;
}

</style>
<body>
<br/>
<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">无锡兴达</label>
					<div class="layui-input-inline">
						<input type="text" name="number" lay-verify="required|number" readonly="readonly" value="${total1 }"
							autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">江阴龙王</label>
					<div class="layui-input-inline">
						<input type="text" name="number" lay-verify="required|number" readonly="readonly" value="${total2 }"
							autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">aa</label>
					<div class="layui-input-inline">
						<input type="text" name="number" lay-verify="required|number" readonly="readonly" value="${total3 }"
							autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">bb</label>
					<div class="layui-input-inline">
						<input type="text" name="number" lay-verify="required|number" readonly="readonly" value="${total4 }"
							autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">cc</label>
					<div class="layui-input-inline">
						<input type="text" name="number" lay-verify="required|number" readonly="readonly" value="${total5 }"
							autocomplete="off" class="layui-input">
					</div>
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">总均价</label>
				<div class="layui-input-block">
					<input type="text" name="title" lay-verify="title" readonly="readonly" value="${totalAverage }"
						autocomplete="off" placeholder="总均价" class="layui-input">
				</div>
			</div>

			


			<div class="layui-tab">
			<ul class="layui-tab-title">
				<li class="layui-this">总价对比</li>
				<li>明细对比</li>
			</ul>
			<div class="layui-tab-content">
				<div class="layui-tab-item layui-show">
					
					 <form id="form1" name="form" class="form-horizontal" method="post"
							action="${ctx}/finance/materialwangjia2_addEntity.shtml">
					<div style="padding: 20px; background-color: #F2F2F2;">
				<div class="layui-row layui-col-space15">
					<div style="float: left;position: relative;display: block;box-sizing: border-box;" class="layui-col-md6">
						<div class="layui-card">
							<div  class="layui-card-body">
								<div class="layui-tab-content">
					<div class="layui-tab-item layui-show">
						<!-- <div class="div1">姓名:<input class="input" name="input"/> -->
							<!-- <input type="button" value="添加name" onclick="add()"><br/> -->
							<!-- <button  class="layui-btn layui-btn-normal" onclick="add()" >百搭按钮</button> -->
						</div>
						<label style="width:142px;" class="layui-form-label">请输入合同编号</label>
							<div class="layui-input-inline">
								<input type="text"  lay-verify="required"  name="salesPriceApprovalFormMap.contractNo"
									placeholder="请输入" autocomplete="off" class="layui-input">
							</div><br/><br/>
						<label style="width:142px;" class="layui-form-label">泰源方原材料价格</label>
							<div class="layui-input-inline">
								<input type="text"  lay-verify="required" value="${totalAverage }" name="salesPriceApprovalFormMap.taiyuanEps"
									placeholder="请输入" autocomplete="off" class="layui-input">
							</div><br/><br/>
						<button type="button"   class="layui-btn layui-btn-normal" onclick="add()"  >添加辅料</button>
						<br/><br/>
						
						<div class="layui-form-item div1">
							<label class="layui-form-label">辅料名称</label>
							<div class="layui-input-inline">
								<input type="text"  lay-verify="required"
									placeholder="请输入" autocomplete="off" class="layui-input">
							</div>
							<label class="layui-form-label">辅料价格</label>
							<div class="layui-input-inline">
								<input type="text"  lay-verify="required" name="salesPriceApprovalFormMap.taiyuanIngredients"
									placeholder="请输入" autocomplete="off" class="layui-input">
							</div><br/><br/><br>
							
							
						</div>
					</div>
							</div>
						</div>
					</div>
					<div class="layui-col-md6">
						<div class="layui-card">
							<div class="layui-card-body">
								<label style="width:142px;" class="layui-form-label">客户总价格</label>
							<div class="layui-input-inline">
								<input type="text"  lay-verify="required" name="salesPriceApprovalFormMap.customerTotalPrice"
									placeholder="请输入" autocomplete="off" class="layui-input">
							</div><br/><br/>
							</div>
							<input type="submit" style="margin-left:680px;"    class="layui-btn layui-btn-normal" value="提交" />
						</div>
					</div>
					<!-- <div class="layui-col-md12">
						<div class="layui-card">
							<div class="layui-card-header">标题</div>
							<div class="layui-card-body">内容</div>
						</div>
					</div> -->
				</div>
			</div>
			 </form> 
				</div>
				
				
				
				
				
				
				<div class="layui-tab-item">
				<form id="form2" name="form" class="form-horizontal" method="post"
							action="${ctx}/finance/materialwangjia_addEntity.shtml">
					<div style="padding: 20px; background-color: #F2F2F2;">
				<div class="layui-row layui-col-space15">
					<div class="layui-col-md6">
					
						<div class="layui-card">
							<div class="layui-card-body">
								<div class="layui-tab-content">
					<div class="layui-tab-item layui-show">
						<!-- <div class="div1">姓名:<input class="input" name="input"/> -->
							<!-- <input type="button" value="添加name" onclick="add()"><br/> -->
							<!-- <button  class="layui-btn layui-btn-normal" onclick="add()" >百搭按钮</button> -->
						</div>
						
						
						<label style="width:142px;" class="layui-form-label">请输入合同编号</label>
							<div class="layui-input-inline">
								<input type="text" lay-verify="required" name="salesPriceApprovalFormMap.contractNo"
									placeholder="请输入" autocomplete="off" class="layui-input">
							</div><br/><br/>
						<label style="width:142px;" class="layui-form-label">泰源方原材料价格</label>
							<div class="layui-input-inline">
								<input type="text" lay-verify="required" value="${totalAverage }" name="salesPriceApprovalFormMap.taiyuanEps"
									placeholder="请输入" autocomplete="off" class="layui-input">
							</div><br/><br/>
						<button type="button"  class="layui-btn layui-btn-normal" onclick="add3()" >添加辅料11</button>
						<br/><br/>
						
						<div class="layui-form-item div3">
							<label class="layui-form-label">辅料名称</label>
							<div class="layui-input-inline">
								<input type="text"  lay-verify="required"
									placeholder="请输入" autocomplete="off" class="layui-input">
							</div>
							<label class="layui-form-label">辅料价格</label>
							<div class="layui-input-inline">
								<input type="text" lay-verify="required" name="salesPriceApprovalFormMap.taiyuanIngredients"
									placeholder="请输入" autocomplete="off" class="layui-input">
							</div><br/><br/><br>
							
							
						</div>
					</div>
							</div>
						</div>
					</div>
					
					
					<div class="layui-col-md6">
						<div class="layui-card">
							<div class="layui-card-body">
								<div class="layui-tab-content">
					<div class="layui-tab-item layui-show">
						<!-- <div class="div1">姓名:<input class="input" name="input"/> -->
							<!-- <input type="button" value="添加name" onclick="add()"><br/> -->
							<!-- <button  class="layui-btn layui-btn-normal" onclick="add()" >百搭按钮</button> -->
						</div>
						<label style="width:142px;" class="layui-form-label">客户原材料价格</label>
							<div class="layui-input-inline">
								<input type="text" lay-verify="required" name="salesPriceApprovalFormMap.customerEps"
									placeholder="请输入" autocomplete="off" class="layui-input">
							</div><br/><br/>
						<input type="button"  class="layui-btn layui-btn-normal" onclick="add2()" value="添加辅料"/>
						<br/><br/>
						
						<div class="layui-form-item div2">
							<label class="layui-form-label">辅料名称</label>
							<div class="layui-input-inline">
								<input type="text" lay-verify="required"
									placeholder="请输入" autocomplete="off" class="layui-input">
							</div>
							<label class="layui-form-label">辅料价格</label>
							<div class="layui-input-inline">
								<input type="text" lay-verify="required" name="salesPriceApprovalFormMap.customerIngredients"
									placeholder="请输入" autocomplete="off" class="layui-input">
							</div><br/><br/><br>
							
							
						</div>
						<input type="submit" style="margin-left:650px;"  class="layui-btn layui-btn-normal" value="提交" />
					</div>
					
							</div>
						</div>
					</div>
					
					
				</div>
			</div>
			</form>
				</div>
				
				
				
				<div class="layui-tab-item">内容3</div>
				<div class="layui-tab-item">内容4</div>
				<div class="layui-tab-item">内容5</div>
			</div>
		</div>

</body>
</html>